// /api/activity/list

import { amapAPI } from "../../utils/request.js" 

const activityList = config =>
  amapAPI.post('/api/activity/list', config, true)
  

const login = params =>
  amapAPI.get(`/api/wxm/user/${params.appid}/login`, params, true)

const bind = params =>
  amapAPI.get(`/api/wxm/user/${params.appid}/bind`, params, true)
  
  
  // /api/wxm/user/${params.appid}/login
// const unbind = config =>
//   amapAPI.post('/api/equipment/unbind', config)  
  
export {
  activityList,
  login,
  bind
}